#pragma once

#include "cocos2d.h"
#include <string>
class CCSpriteObj:public cocos2d::CCSprite
{
public:
	CCSpriteObj(void);
	~CCSpriteObj(void);
	static CCSpriteObj *node(const char *szPath,int nType, const char *szName);
private:
	bool init(const char *szPath,int nType, const char *szName);
	int nType_;
	std::string strName_;
};
